<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
    <meta name="generator" content="AsciiDoc 8.2.5" />
    <link rel="stylesheet" href="xhtml11.css" type="text/css" />
    <link rel="icon" href="chrome://vimperator/skin/icon.png" type="image/png" />
    <script type="application/x-javascript;version=1.8" src="help.js"></script>
    <title>eval.html</title>
  </head>
<body>
<h1 style="font-size: inherit; text-align: right;">
  <span class="tag" style="float: none;">eval.html</span>
</h1>
<div class="para"><p><div style="float: right; padding-left: 1px;"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <fieldset class="paypal"> <input type="hidden" name="cmd" value="_s-xclick"/> <input type="image" src="" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBDDJfc+lXLBSAM9XSWv/ebzG/L7PTqYiIXaWVg8pfinDsfYaAcifcgCTuApg4v/VaZIQ/hLODzQu2EvmjGXP0twErA/Q8G5gx0l197PJSyVXb1sLwd1mgOdLF4t0HmDCdEI9z3H6CMhsb3xVwlfpzllSfCIqzlSpx4QtdzEZGzLDELMAkGBSsOAwIaBQAwgbwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQI8ZOwn5QkH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ldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAgV86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA3MDMyMTIyMzI1OFowIwYJKoZIhvcNAQkEMRYEFCirrvlwYVHQiNEEbM6ikfx9+Dm5MA0GCSqGSIb3DQEBAQUABIGAtbsR8GdCdURLziozXLSdtY+zJZUPPeQFXXy2V1S/3ldiN+pRvd4HI7xz8mOY1UaKJZpwZnOosy9MflL1/hbiEtEyQ2Dm/s4jnTcJng/NjLIZu+0NYxXRJhB+zMJubnMMMjzNrGlqI4F2HAB/bCA1eOJ5B83Of3dA4rk/T/8GoSQ=-----END PKCS7-----"/> </fieldset> </form> </div> <span class="vimperator-logo"></span></p></div>
<div class="para"><p><span class="tag">expression</span> <span class="tag">expr</span> <span class="tag">eval</span><br /></p></div>
<div class="para"><p>INTRO TO BE WRITTEN&#8230;</p></div>
<div class="para"><p><span class="tag">:ec</span> <span class="tag">:echo</span><br />
<div class="key">:ec[ho] <span class="argument">&#123;expr&#125;</span></div></p></div>
<div class="quoteblock">
<div class="content">
<div class="para"><p>Echo the expression. Useful for showing informational messages. Multiple lines
can be separated by \n. <span class="argument">&#123;expr&#125;</span> can either be a quoted string, or any expression
which can be fed to eval() like 4+5. You can also view the source code of
objects and functions if the return value of <span class="argument">&#123;expr&#125;</span> is an object or function.</p></div>
<div class="attribution">
</div></div></div>
<div class="para"><p><span class="tag">:echoe</span> <span class="tag">:echoerr</span>
<div class="key">:echoe[rr] <span class="argument">&#123;expr&#125;</span></div><br /></p></div>
<div class="quoteblock">
<div class="content">
<div class="para"><p>Echo the expression as an error message. Just like <a class="command" href="#">:ec[ho]</a> but echoes
the result highlighted as ErrorMsg and saves it to the message history.</p></div>
<div class="attribution">
</div></div></div>
<div class="para"><p><span class="tag">:echom</span> <span class="tag">:echomsg</span>
<div class="key">:echom[sg] <span class="argument">&#123;expr&#125;</span></div><br /></p></div>
<div class="quoteblock">
<div class="content">
<div class="para"><p>Echo the expression as an informational message. Just like <a class="command" href="#">:ec[ho]</a> but
also saves the message in the message history.</p></div>
<div class="attribution">
</div></div></div>
<div class="para"><p><span class="tag">:exe</span> <span class="tag">:execute</span>
<div class="key">:exe[cute] <span class="argument">&#123;expr&#125;</span></div><br /></p></div>
<div class="quoteblock">
<div class="content">
<div class="para"><p>Execute the string that results from the evaluation of <span class="argument">&#123;expr&#125;</span> as an Ex command.
Example: <a class="command" href="#">:execute "source " + io.getRCFile().path</a> sources the appropriate
RC file.</p></div>
<div class="para"><p><span class="info">Note:</span> Unlike Vim this currently only supports a single argument.</p></div>
<div class="attribution">
</div></div></div>
<div class="para"><p><span class="tag">:js</span> <span class="tag">:javas</span> <span class="tag">:javascript</span>
<div class="key">:javas[cript] <span class="argument">&#123;cmd&#125;</span></div><br />
<div class="key">:javascript &lt;&lt;<span class="argument">&#123;endpattern&#125;</span>\n<span class="argument">&#123;script&#125;</span>\n<span class="argument">&#123;endpattern&#125;</span> </div><br />
<div class="key">:javascript<span class="argument">&#91;!&#93;</span></div></p></div>
<div class="quoteblock">
<div class="content">
<div class="para"><p>Run any JavaScript command through eval(). Acts as a JavaScript interpreter by
passing the argument to <tt>eval()</tt>.
<a class="command" href="">:javascript alert("Hello world")</a> shows a dialog box with the text "Hello world".
<a class="command" href="">:javascript &lt;&lt;EOF</a> reads all the lines until a line starting with "EOF"
is found, and interpret them with the JavaScript <em>eval()</em> function.</p></div>
<div class="para"><p>The special version <a class="command" href="#">:javascript!</a> opens the JavaScript console of
Firefox.</p></div>
<div class="para"><p><a class="mapping" href="">&lt;Tab&gt;</a> completion is available for <a class="command" href="">:javascript <span class="argument">&#123;cmd&#125;</span>&lt;Tab&gt;</a> (but not
yet for the <a class="command" href="#">:js &lt;&lt;EOF</a> multiline widget). Be aware that Vimperator needs
to run <span class="argument">&#123;cmd&#125;</span> through eval() to get the completions, which could have unwanted
side effects.</p></div>
<div class="attribution">
</div></div></div>
<div class="para"><p><span class="tag">:let</span>
<div class="key">:let <span class="argument">&#123;var-name&#125;</span> [+-.]= <span class="argument">&#123;expr1&#125;</span></div><br />
<div class="key">:let <span class="argument">&#123;var-name&#125;</span></div><br />
<div class="key">:let</div></p></div>
<div class="quoteblock">
<div class="content">
<div class="para"><p>Sets or lists a variable. Sets the variable <span class="argument">&#123;var-name&#125;</span> to the value of the
expression <span class="argument">&#123;expr1&#125;</span>. If no expression is given, the value of the variable is
displayed.Without arguments, displays a list of all variables.</p></div>
<div class="attribution">
</div></div></div>
<div class="para"><p><span class="tag">:unl</span> <span class="tag">:unlet</span>
<div class="key">:unl[et]<span class="argument">&#91;!&#93;</span> <span class="argument">&#123;name&#125;</span> &#8230;</div><br /></p></div>
<div class="quoteblock">
<div class="content">
<div class="para"><p>Deletes the variable <span class="argument">&#123;name&#125;</span>. Several variable names can be given. When used
with <span class="argument">&#91;!&#93;</span> no error message is output for non-existing variables.</p></div>
<div class="attribution">
</div></div></div>
<div id="footer">
<div id="footer-text">
Last updated 2009-02-28 20:06:33 IST
</div>
</div>
</body>
</html>
